<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>欢迎您使用图书馆借阅系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <table>
		<thead>
			<tr>
				<td>学号(工号)</td><td>用户名</td><td>欠款</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>${user.code}</td><td>${user.name}</td><td>${user.arraers}</td>
			</tr>
		</tbody>
	</table>
</body><br/>
<form:form commandName="book" action="book/searchBookByName">
	条件查询<input type="text" name="name"><br/>
	<input type="submit" name="submit">	
</form:form>  
</html>
